package cn;

import java.util.Scanner;

public class Start1 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输出行数：");
		int n = sc.nextInt();
		for (int i = 0; i < n; i++) {
			for (int t = 0; t < i; t++)
				System.out.print(" ");
			for (int j = i; j < n; j++) {

				System.out.print("*");
			}
			for (int k = 0; k < 2; k++) {
				System.out.print(" ");
			}
			for (int j = i; j < n; j++) {
				System.out.print("*");
			}
			System.out.println();

		}

	}

}
